package com.sikaryofficial.system.domain.mapping;

import com.sikaryofficial.system.domain.SysNotice;
import com.sikaryofficial.system.domain.dto.SysNoticeWithUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysNoticeMapping {

    SysNoticeMapping INSTANCE = Mappers.getMapper(SysNoticeMapping.class);

    SysNoticeWithUser coverToResp(SysNotice sysNotice);

    SysNotice covertToEntity(SysNoticeWithUser sysNotice);
}
